package com.zhongkai.model.config;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	private Integer userId;
	private String userIdentifier;
	private Integer departmentId;
	private String roleId;
	private String userAccount;
	private String userPassword;
	private String userNickname;
	private Short userSwitch;
	private String userEmail;

	// Constructors

	/** default constructor */
	public User() {
	}

	/** minimal constructor */
	public User(Integer departmentId, String roleId, String userAccount,
			String userPassword, Short userSwitch) {
		this.departmentId = departmentId;
		this.roleId = roleId;
		this.userAccount = userAccount;
		this.userPassword = userPassword;
		this.userSwitch = userSwitch;
	}

	/** full constructor */
	public User(Integer departmentId, String roleId, String userAccount,
			String userPassword, String userNickname, Short userSwitch,
			String userEmail) {
		this.departmentId = departmentId;
		this.roleId = roleId;
		this.userAccount = userAccount;
		this.userPassword = userPassword;
		this.userNickname = userNickname;
		this.userSwitch = userSwitch;
		this.userEmail = userEmail;
	}

	// Property accessors

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserIdentifier() {
		return userIdentifier;
	}

	public void setUserIdentifier(String userIdentifier) {
		this.userIdentifier = userIdentifier;
	}

	public Integer getDepartmentId() {
		return this.departmentId;
	}

	public void setDepartmentId(Integer departmentId) {
		this.departmentId = departmentId;
	}
	
	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getUserAccount() {
		return this.userAccount;
	}

	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}

	public String getUserPassword() {
		return this.userPassword;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}

	public String getUserNickname() {
		return this.userNickname;
	}

	public void setUserNickname(String userNickname) {
		this.userNickname = userNickname;
	}

	public Short getUserSwitch() {
		return this.userSwitch;
	}

	public void setUserSwitch(Short userSwitch) {
		this.userSwitch = userSwitch;
	}

	public String getUserEmail() {
		return this.userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}

}